Script.GetContext

Returns the application name and version number the script is running against. The information is retrieved from the application repository.

To return the application and version a load test script is running against, use the Script.GetLoadTestContext statement.

Syntax

Script.GetContext()

Supported objects

Script

Return value

Value Description
Value Application name and version number the script is running against.

Example

context = Script.GetContext()

PrintLn("Application/version: " + context)